39385d379f71a9944ec22b88bb1017d0fc46389c,fcrepo-http-commons/src/main/java/org/fcrepo/http/commons/exceptionhandlers/ServerManagedPropertyExceptionMapper.java,ServerManagedPropertyExceptionMapper,toResponse,#ServerManagedPropertyException#,50

Before Change


        debugException(this, e, LOGGER);
        final Link link = buildConstraintLink(e, uriInfo);
        final String msg = e.getMessage();
        return status(CONFLICT).entity(msg).links(link).build();
    }
}

After Change


        debugException(this, e, LOGGER);
        final Link link = buildConstraintLink(e, uriInfo);
        final String msg = e.getMessage();
        return status(CONFLICT).entity(msg).links(link).type(TEXT_PLAIN_WITH_CHARSET).build();
    }
}